/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.bus.entity;

import com.thinkgem.jeesite.modules.sys.entity.Dict;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

import java.util.List;

/**
 * 疫苗维护表Entity
 * @author sy
 * @version 2019-06-14
 */
public class VaccineManage extends DataEntity<VaccineManage> {
	
	private static final long serialVersionUID = 1L;
	private String animalTypeCode;		// 动物种类代码
	private String vaccineTypeCode;		// 疫苗种类代码
	private String name;		// 疫苗名称
	private String status;		// 启用状态 0=不可用 1=可用
	private String sort;		// 排序
	private String animalTypeName;//动物种类名称

	private List<Dict> dictList;
	
	public VaccineManage() {
		super();
	}

	public VaccineManage(String id){
		super(id);
	}

	@Length(min=0, max=255, message="动物种类代码长度必须介于 0 和 255 之间")
	public String getAnimalTypeCode() {
		return animalTypeCode;
	}

	public void setAnimalTypeCode(String animalTypeCode) {
		this.animalTypeCode = animalTypeCode;
	}
	
	@Length(min=0, max=255, message="疫苗种类代码长度必须介于 0 和 255 之间")
	public String getVaccineTypeCode() {
		return vaccineTypeCode;
	}

	public void setVaccineTypeCode(String vaccineTypeCode) {
		this.vaccineTypeCode = vaccineTypeCode;
	}
	
	@Length(min=0, max=255, message="疫苗名称长度必须介于 0 和 255 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=1, message="启用状态 0=不可用 1=可用长度必须介于 0 和 1 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@Length(min=0, max=4, message="排序长度必须介于 0 和 4 之间")
	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public List<Dict> getDictList() {
		return dictList;
	}

	public void setDictList(List<Dict> dictList) {
		this.dictList = dictList;
	}

	public String getAnimalTypeName() {
		return animalTypeName;
	}

	public void setAnimalTypeName(String animalTypeName) {
		this.animalTypeName = animalTypeName;
	}
}